package day2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Prize3 {
    public static void main(String[] args) {
        //两门课的奖励
        Scanner in = new Scanner(System.in);
        System.out.println("请输入张浩的java和音乐成绩：");
        int java = in.nextInt();
        int music = in.nextInt();
        if ((java > 90 && music > 80) || (java == 100 && music > 70)) {
            System.out.println("iphone14作为奖励！");
        }
    }
}
